package cn.stylefeng.guns.modular.demos.mapper;

import cn.stylefeng.guns.modular.demos.entity.BizDownloadFile;
import cn.stylefeng.guns.modular.demos.model.params.BizDownloadFileParam;
import cn.stylefeng.guns.modular.demos.model.result.BizDownloadFileResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 下载文件表 Mapper 接口
 * </p>
 *
 * @author zjj
 * @since 2020-09-05
 */
public interface BizDownloadFileMapper extends BaseMapper<BizDownloadFile> {

    /**
     * 获取列表
     *
     * @author zjj
     * @Date 2020-09-05
     */
    List<BizDownloadFileResult> customList(@Param("paramCondition") BizDownloadFileParam paramCondition);
    
      /**
     * 获取列表
     * 多条件查询-by zjj
     * @author zjj
     * @Date 2020-09-05
     */
    List<BizDownloadFileResult> customList2(@Param("paramCondition") BizDownloadFileParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zjj
     * @Date 2020-09-05
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BizDownloadFileParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zjj
     * @Date 2020-09-05
     */
    List<Map<String, Object>> customMapList2(@Param("paramCondition") BizDownloadFileParam paramCondition);
    
    /**
     * 获取分页实体列表
     * 多条件查询-by zjj
     * @author zjj
     * @Date 2020-09-05
     */
    Page<BizDownloadFileResult> customPageList(@Param("page") Page page, @Param("paramCondition") BizDownloadFileParam paramCondition);

    /**
     * 获取分页map列表
     * 多条件查询-by zjj
     * @author zjj
     * @Date 2020-09-05
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BizDownloadFileParam paramCondition);

	/**
     * 统计个数
     * 多条件查询-by zjj
     * @author zjj
     * @Date 2020-09-05
     */
	Integer customCount(@Param("paramCondition") BizDownloadFileParam paramCondition);
}
